package entity.dao;

import entity.dao.mysql.MysqlFactory;
import util.Parameters;

public abstract class DAOFactory {
	
	public static DAOFactory getFactory(int factoryType){
		
		switch(factoryType){
		case Parameters.DAO_TYPE:
			return new MysqlFactory();
		}
		
		return null;
	}
	
	public abstract ProjectDAO getPersistanceManager();

}
